<?php if (!defined('LEGAL_INNER_USE')){die('ILLEGAL USING!');}?>
<div class="container bodyCont">
	<div class="row-fluid">
		<div class="well span4">
			<h3>|| 联系我们</h3>
			<p>HOLI 实业有限公司</p>
			<p>地址：上海市虹莘路 1955 弄 33 号</p>
			<p>电话：+86-21-52232791, 52232792</p>
			<p>传真：+86-21-52232776</p>
			<p>邮箱：admin@holishanghai.com</p>
		</div>
		<div id="map" class="span8 well" style="height:500px;"></div>
	</div>
</div>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.3"></script>
<script type="text/javascript">
    var map = new BMap.Map("map"); // 创建地图实例
    var point = new BMap.Point(121.388048,31.141329); // 创建点坐标
    map.centerAndZoom(point, 15); // 初始化地图，设置中心点坐标和地图级别
    
    
	var marker = new BMap.Marker(point);  // 创建标注
	map.addOverlay(marker);              // 将标注添加到地图中
	marker.setAnimation(BMAP_ANIMATION_BOUNCE); //跳动的动画
    
	map.addControl(new BMap.NavigationControl());  //添加默认缩放平移控件
	map.addControl(new BMap.NavigationControl({anchor: BMAP_ANCHOR_TOP_RIGHT, type: BMAP_NAVIGATION_CONTROL_SMALL}));  //右上角，仅包含平移和缩放按钮
	map.addControl(new BMap.NavigationControl({anchor: BMAP_ANCHOR_BOTTOM_LEFT, type: BMAP_NAVIGATION_CONTROL_PAN}));  //左下角，仅包含平移按钮
	map.addControl(new BMap.NavigationControl({anchor: BMAP_ANCHOR_BOTTOM_RIGHT, type: BMAP_NAVIGATION_CONTROL_ZOOM}));  //右下角，仅包含缩放按钮
    
    
	map.enableScrollWheelZoom();    //启用滚轮放大缩小，默认禁用
	map.enableContinuousZoom();    //启用地图惯性拖拽，默认禁用
</script>
